package com.demo.web;


import java.util.List;

import com.apidoc.annotation.ApiParam;
import com.apidoc.enumeration.OrderStatus;

/**
 * @Description: 用户实体类
 * @Author: peng.liu
 * @CreateDate: 2018/4/15 17:10
 */

public class User {

	@ApiParam(description = "编号" , defaultValue = "0001" , required = true )
    private String id;//编号
	@ApiParam(description = "姓名"  , required = true )
    private String name;//姓名
	@ApiParam(description = "年假"   )
    private Integer age;//年龄
	private String sex ;
	@ApiParam(description = "组织机构" , name = "dept_name"   )
	private String deptName ;

	@ApiParam(description = "银行信息" , name = "bank" , object = "bank"   )
	private Banks bank ;
	
	@ApiParam(description = "测试List信息" , name = "list" , object = "list1"   )
	private List<String> list ;
	
	
	@ApiParam(description = "Card信息" , name = "carList" , object = "listcarList"   )
	private List<Card> listCards ;
	
	@ApiParam(description = "个人状态" , name = "status" ,enumType = OrderStatus.class  )
	private int status ;
	
    public User() {
    }

    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }


    public User(String id, String name, Integer age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

   
}
